package com.website.company.controller;


import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.website.company.entity.FunctionClass;
import com.website.company.mapper.FunctionClassMapper;
import com.website.company.service.FunctionClassService;
import com.website.company.utils.ResponseBo;
import com.website.company.utils.ResponseList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author peng yangyan
 * @since 2018-11-22
 */
@Controller
public class FunctionClassNewController {

    @Autowired
    FunctionClassService functionClassService;
    @Resource
    private FunctionClassMapper functionClassMapper;

//    @RequestMapping("getFunction/detail/{id}")
//    public String  getFunctionClass(@PathVariable("id") Integer id, Model model) {
//        FunctionClass functionClass = functionClassService.showFunction(id);
//        model.addAttribute("product",functionClass);
//        return "showPage/product/product_detail";
//    }
}
